package appapi.Vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2023-06-13 16:53
 */
@Data
public class EquipmentsExportVo {
    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    @Excel(name = "设备类型", orderNum = "0", width = 20)
    private String equipTypeName;

    /**
     * 设备别名
     */
    @ApiModelProperty(value = "设备别名")
    @Excel(name = "设备别名", orderNum = "1", width = 20)
    private String equipName;

    /**
     * 设备型号
     */
    @ApiModelProperty(value = "设备型号")
    @Excel(name = "规格型号", orderNum = "2", width = 20)
    private String equipModel;

    /**
     * 所在公司
     */
    @ApiModelProperty(value = "所在公司")
    @Excel(name = "所属机构", orderNum = "3", width = 20)
    private String orgaName;

    /**
     * 整改要求
     */
    @ApiModelProperty(value = "整改要求")
    @Excel(name = "整改要求", orderNum = "4", width = 20)
    private String rectRequire;


    /**
     * 维保时间
     */
    @ApiModelProperty(value = "整改日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "整改日期", orderNum = "5", width = 20,format = "yyyy-MM-dd HH:mm:ss")
    private Date rectDate;

    /**
     * 维保时间
     */
    @ApiModelProperty(value = "验收日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "验收日期", orderNum = "6", width = 20,format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
